/**
 * Copyright (c), 2021, 安徽海行云物联科技有限公司
 * FileName Test
 * Author 施瑞
 * Date 2021/11/5
 * Description
 */
package sum.book.common.core.constant;

/**
 * @description oauth2.0的4种模式
 * @author 施瑞
 * @date 2021/11/5
 */
public class GrantTypeConstants {
    /**
     * 认证码模式
     */
    public static final String AUTHORIZATION_CODE = "authorization_code";
    /**
     * 隐式授权模式
     */
    public static final String IMPLICIT = "implicit";
    /**
     * 客户端认证模式
     */
    public static final String CLIENT_CREDENTIALS = "client_credentials";
    /**
     * password模式
     */
    public static final String PASSWORD = "password";
    /**
     * 刷新token
     */
    public static final String REFRESH_TOKEN = "refresh_token";
}
